﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZDSoft.UPMS.Model.SystemPart;
using Castle.ActiveRecord;

namespace ZDSoft.UPMS.Model.BusinessPart
{
    [ActiveRecord]
    public class TeacherTeachingCourse : ModelBase<TeacherTeachingCourse>
    {
        /// <summary>
        /// 上课学期
        /// </summary>
        [BelongsTo("TermID")]
        public Term Term { get; set; }

        /// <summary>
        /// 教师所上的课程
        /// </summary>
        [BelongsTo("CourseID")]
        public Course Course { get; set; }

        /// <summary>
        /// 教师所上的班级
        /// </summary>
        [BelongsTo("OrganizationID")]
        public Organization Classes { get; set; }

        /// <summary>
        /// 教师
        /// </summary>
        [BelongsTo("UserID")]
        public User Teacher { get; set; }
    }
}
